package com.lyz.objectd2;

/**
 * @ClassName Dog
 * @Description 狗类
 * @Author 2214361854
 * @Date 2022/2/19 13:15
 * @Version 1.0
 */
public class Dog extends Animal{
    public String name = "子类，狗";
    @Override
    public void run() {
        System.out.println("狗跑的快~~~");
    }
    public void lookDoor(){
        System.out.println("看门");
    }
}
